package com.quanyan.runningriding.service;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.runningriding.entity.vo.run.req.MusicCollectionVo;
import com.quanyan.runningriding.entity.vo.run.resp.MusicCollectionInfoVo;

import java.util.List;
import java.util.Map;

/**
 * Created by liubin on 2016/12/6.
 */
public interface RunMusicCollectionService {
    /**
     * 添加收藏音乐
     *
     * @param musicCollectionVo
     * @return
     */
    APIResponse<?> insertMusicCollection(MusicCollectionVo musicCollectionVo);

    /**
     * 更新音乐收藏
     *
     * @param musicCollectionVo
     * @return
     */
    APIResponse<?> updateMusicCollection(MusicCollectionVo musicCollectionVo);

    /**
     * 删除收藏音乐
     *
     * @param musicCollectionId
     * @return
     */
    APIResponse<?> deleteMusicCollection(Integer musicCollectionId);

    /**
     * 显示收藏音乐列表
     *
     * @param paramMap
     * @return
     */
    PageObj<List<MusicCollectionInfoVo>> musicCollectionList(Map<String, Object> paramMap);
}
